<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{:C("USER_TITLE")}</title>
  <meta name="viewport" content="initial-scale=1, maximum-scale=1">
  <link rel="shortcut icon" href="/favicon.ico">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm.min.css">
  <link type="text/css" rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.5.4/css/sm-extend.min.css">
  <link type="text/css" rel="stylesheet" href="__PUBLIC__/user/new/css/user.css?v=1">
  <link type="text/css" rel="stylesheet" href="__PUBLIC__/user/new/css/shop.css?v=1">
    <link href="__PUBLIC__/user/new/css/font-awesome.min.css" rel="stylesheet">
  <script type='text/javascript' src='http://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
</head>
<body>
<div class="content">
<div class="card">
<div class="card-header">
<?php if(isset($message)) {?>
成功提示
<?php }else{?>
错误提示
<?php }?>
</div>
<div class="card-content">
<div class="card-content-inner"><h3><?php echo($error); ?> <?php echo($message); ?></h3>
<p class="jump">
页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
</p>
</div>
</div>
</div>
</div> 
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
    var time = --wait.innerHTML;
    if(time <= 0) {
        location.href = href;
        clearInterval(interval);
    };
}, 1000);
})();
</script>
<script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.5.6/js/sm.min.js' charset='utf-8'></script>
<script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.5.6/js/sm-extend.min.js' charset='utf-8'></script>
<script type='text/javascript' src="__PUBLIC__/user/new/js/user.js?v=1"charset='utf-8'></script>
</body>
</html>